]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
keyboard: Do not call non-existent function
authorCarlos Garnacho <carlosg@gnome.org>
Sun, 11 Feb 2018 15:15:14 +0000 (16:15 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Mon, 12 Feb 2018 16:00:51 +0000 (17:00 +0100)
Commit 8fdf47ea5b5 removed _addKeys(), but forgot one caller. We just want
to regenerate the keyboard for the current group, so call into the
_onGroupChanged function.

js/ui/keyboard.js

index 605af3b562c795b14c6f4a52d858ad379924224c..226ec9b7b230c1f0deea96e15cea2f0ecafcca95 100644 (file)
@@ -913,7 +913,7 @@ var Keyboard = new Lang.Class({
 
     _onKeyboardGroupsChanged: function(keyboard) {
         this._groups = [];
-        this._addKeys();
+        this._onGroupChanged();
     },
 
     _onKeyboardStateChanged: function(controller, state) {